package com.einmeer.controller;

import com.einmeer.service.TestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 芊嵛
 * @date 2024/3/13
 */
@RestController
public class ProductController {
    @Resource
    TestService testService;
    @GetMapping("/index")
    String index(){
        System.out.println("一个人点餐");
        return testService.method();
    }

}
